<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<aside class="main-sidebar">
			<!-- sidebar: style can be found in sidebar.less -->
			<section class="sidebar">
				<!-- Sidebar user panel -->
				<div class="user-panel">
					<div class="pull-left image">
						<img src="http://q.qlogo.cn/headimg_dl?bs=qq&dst_uin=184773349&src_uin=www.jlwz.cn&fid=blog&spec=100"
							class="img-circle" alt="User Image">
					</div>
					<div class="pull-left info">
						<p>管理员操作区域</p>
						<a><i class="fa fa-circle text-success"></i>在线状态</a>
					</div>
				</div>

				<!-- sidebar menu: : style can be found in sidebar.less -->
				<ul class="sidebar-menu" data-widget="tree">
					<li class="header">作业信息管理</li>
					<li class="treeview   <% if(request.getServletPath().equals("/admin/index.jsp")) { out.write("active");} %>" ><a style="cursor: pointer;" onclick="aClick('<%=basePath %>admin/NewTypeServlet.action?method=findbyall')" id="NewTypeServlet"> 
					 <i class="fa fa-dashboard"></i> <span>作业类型管理</span>
					</a></li>
					<li class="treeview  <% if(request.getServletPath().equals("/admin/news.jsp")) { out.write("active");} %>" ><a style="cursor: pointer;" onclick="aClick('<%=basePath %>admin/NewsServlet.action?method=findbyall')" > 
					 <i class="fa fa-dashboard"></i> <span>作业管理</span>
					</a></li>
					<li class="header">作业下载</li>
					<li class="treeview  <% if(request.getServletPath().equals("/admin/downLoad.jsp")) { out.write("active");} %>" ><a style="cursor: pointer;" onclick="aClick('<%=basePath %>HListFileServlet')" > 
					 <i class="fa fa-dashboard"></i> <span>Html5+Css3</span>
					</a></li>
					<li class="treeview  <% if(request.getServletPath().equals("/admin/Boot.jsp")) { out.write("active");} %>" ><a style="cursor: pointer;" onclick="aClick('<%=basePath %>BListFileServlet')" > 
					 <i class="fa fa-dashboard"></i> <span>BootStrap</span>
					</a></li>
					<li class="treeview  <% if(request.getServletPath().equals("/admin/RP.jsp")) { out.write("active");} %>" ><a style="cursor: pointer;" onclick="aClick('<%=basePath %>RPListFileServlet')" > 
					 <i class="fa fa-dashboard"></i> <span>Axure Rp</span>
					</a></li>
					<li class="treeview  <% if(request.getServletPath().equals("/admin/APP.jsp")) { out.write("active");} %>" ><a style="cursor: pointer;" onclick="aClick('<%=basePath %>AListFileServlet')" > 
					 <i class="fa fa-dashboard"></i> <span>App界面设计</span>
					</a></li>
					<li class="header">系统功能</li>
					<li class="treeview"><a href="#"> <i
							class="fa fa-dashboard"></i> <span>退出后台</span>
					</a></li>
				</ul>
			</section>
			<!-- /.sidebar -->
		</aside>